;; -*- scheme -*- (See protocols.scmgen for license and copyright information)

;; * DATASTORE message types
(value
 (symbol msg:datastore:reserve)
 (documentation "Message sent by datastore clients on join.")
 (index 92))
(value
 (symbol msg:datastore:release-preserve)
 ;; FIXME this is the same description as
 ;; the former message type. Documentation bug?
 (documentation "Message sent by datastore client on join.")
 (index 93))
(value
 (symbol msg:datastore:status)
 (documentation "Message sent by datastore to client informing
about status processing a request
(in response to FIXME RESERVE, RELEASE_RESERVE,
PUT, UPDATE and REMOVE requests)")
 (index 94))
(value
 (documentation "Message sent by datastore client to store data.")
 (symbol msg:datastore:put!)
 (index 95))
;; Filler (96)
msg:96
(value
 (documentation "Message sent by datastore client to get data.")
 (symbol msg:datastore:get)
 (index 97))
(value
 (documentation "Message sent by datastore client to get random data.")
 (symbol msg:datastore:get-replication)
 (index 98))
;; FIXME this is the same description as the former
;; message.
(value
 (documentation "Message sent by datastore client to get random data.")
 (symbol msg:datastore:get-zero-anonymity)
 (index 99))
(value
 ;; FIXME msg:datastore:get-random doesn't exist.
 (documentation "Message sent by datastore to client providing
requested data (in response to msg:datastore:get
or msg:datastore:get-random request)")
 (symbol msg:datastore:data)
 (index 100))
(value
 (documentation
  ;; FIXME in response to which?
  "Message sent by datastore to client signaling end of matching data.
This message will also be sent for \"GET_RANDOM\", even though
\"GET_RANDOM\" returns at most one data item.")
 (symbol msg:datastore:data-end)
 (index 101))
(value
 (documentation "Message sent by datastore client to remove data.")
 (symbol msg:datastore:remove!)
 (index 102))
(value
 (documentation "Message sent by datastore client to drop the database.")
 (symbol msg:datastore:drop!)
 (index 103))
(value
 (documentation "Message sent by datastore client to get data by key.")
 (symbol msg:datastore:get-key)
 (index 104))
